package com.neu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.neu.entity.FpFatherDemand;

import java.util.Map;
import java.util.List;


public interface FpFatherDemandService extends IService<FpFatherDemand> {

    /**
     * 添加一级需求
     *
     * @param fpFatherDemand 一级需求
     * @return 是否添加成功
     */

    List<Map<String, Object>> searchByPnameWithSecondDemands(String pname);

    List<Map<String, Object>> listWithSecondDemands();

    boolean updateByPname(FpFatherDemand fpFatherDemand);
}
